package com.cmbyc.todolist.mapper;

import com.cmbyc.todolist.VO.UpdateUserInfoQuery;
import com.cmbyc.todolist.VO.UserShowVO;
import com.cmbyc.todolist.entity.UserInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 用户信息表 Mapper 接口
 * </p>
 *
 * @author CYF
 * @since 2022-01-02
 */
public interface UserInfoMapper extends BaseMapper<UserInfo> {

    /**
     * 用户信息显示
     * @param bId
     * @return
     */
    UserShowVO selectUserShow(String bId);

    /**
     * 用户名或密码修改
     * @param query
     */
    void updateUserInfo(UpdateUserInfoQuery query);

}
